<%@include file="include-head.jsp" %>
<%@include file="include-nav.jsp" %>
<%@include file="include-sidebar.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="include-modal-cret-confirm.jsp" %>
<%@include file="include-modal-cert-add.jsp" %>
<%@include file="include-modal-cert-edit.jsp" %>

<link rel="stylesheet" type="text/css" href="/static/css/pagination01.css"/>
<body>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title"><i class="glyphicon glyphicon-th"></i> 数据列表</h3>
        </div>
        <div class="panel-body">
            <form class="form-inline" role="form" style="float:left;">
                <div class="form-group has-feedback">
                    <div class="input-group">
                        <div class="input-group-addon">查询条件</div>
                        <input
                                id="keywordInput"
                                class="form-control has-success" type="text" placeholder="请输入查询条件">
                    </div>
                </div>
                <button id="searchBtn"
                        type="button" class="btn btn-warning"><i class="glyphicon glyphicon-search">

                </i> 查询
                </button>
            </form>
            <button id="batchRemoveBtn"
                    type="button" class="btn btn-danger" style="float:right;margin-left:10px;">
                <i class=" glyphicon glyphicon-remove"></i> 删除
            </button>
            <button id="addBtn"
                    type="button" class="btn btn-primary" style="float:right;">
                <i class="glyphicon glyphicon-plus"></i> 新增
            </button>
            <br>
            <hr style="clear:both;">
            <div class="table-responsive">
                <table class="table  table-bordered">
                    <thead>
                    <tr>
                        <th width="30">#</th>
                        <th width="30"><input id="summaryBox" type="checkbox"></th>
                        <th>名称</th>
                        <th width="100">操作</th>
                    </tr>
                    </thead>
                    <tbody id="cretTableBody">
                    <%--ajax加载数据--%>
                    </tbody>
                    <tfoot>
                    <tr>
                        <td colspan="4" align="center">
                            <div id="Pagination" class="pagination">
                                <!-- 这里显示分页 -->
                            </div>
                        </td>
                    </tr>
                    </tfoot>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="script/jquery.pagination.js"></script>
<script type="text/javascript" src="script/my-cert.js"></script>
